package com.ap.generator.retrievertp;

import com.ap.core.cxf.jaxb.managepayment.AbstractRetrieveRTP1RequestGeneratorBuilder;
import com.ap.generator.common.FieldGenerator;
import com.ap.generator.requestorigination.RequestOriginationTypeGeneratorBuilder;

import static com.ap.datagen.core.GeneratorHelper.buildA;
import static com.ap.datagen.core.Nullable.nullable;
import static com.ap.generator.retrievertp.RequestInfoTypeGeneratorBuilder.requestInfoTypeGenerator;


public class RetrieveRTPRequestTypeGeneratorBuilder extends AbstractRetrieveRTP1RequestGeneratorBuilder {
	
    @Override
    public void setupDefaults() {
        this.msgHdrGenerator = FieldGenerator.MSGHDRGENERATORRETREIVERTP;
        this.requestOriginationGenerator = nullable(buildA(RequestOriginationTypeGeneratorBuilder.requestOriginationGenerator()));
        this.requestInfoGenerator = nullable(buildA(requestInfoTypeGenerator()));
    }
    
    /**
     * 
     * @return
     */
    public static RetrieveRTPRequestTypeGeneratorBuilder getRetrieveRTPTypeGenerator() {
    	return new RetrieveRTPRequestTypeGeneratorBuilder();
    }
}
